<?php 
header('Content-type: application/json;charset=utf-8');
require_once(dirname(__FILE__).'/../include/config.inc.php');
//获取 post的json数据


$id=htmlspecialchars($_POST['id']);
if(isset($id)){

	
	//催单
	if($op=='dingwei'){
		//判断是否超时
		$data=array();
		$k=$dosql->GetOne("SELECT * FROM `#@__order`  where id='$id'");
		if(is_array($k) && isset($k['id']) ){
		   $data=array('data'=>$k);
		   $json_data=array('msg'=>'ok');
		}else{
			$json_data=array('msg'=>'error');
		}
	}

	$errno=array('errno'=>0);
	$json_json=array_merge($errno,$json_data,$data);
	$data=json_encode($json_json);
	echo $data;

	
}




?>